package dev.alm.chatmemorydemo.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import reactor.core.publisher.Flux;

public interface ChatTokenMemoryService {

    String chatWithMemory(@MemoryId String userId, @UserMessage String question);

    Flux<String> streamWithMemory(@MemoryId String userId, @UserMessage String question);

}
